<?php

require 'require.php';
require "html/top.html";

if (isset($_SESSION['user_id']) && ($_SESSION['user_id']) && isset($_SESSION['username']) && ($_SESSION['username'])) {
        ?><b>Welcome</b>, <?=$_SESSION['username']?><br />
		<br />
		Your openidoo adress is : <b class="selected"><?=OPENIDOO_DOMAIN?>/<?=$_SESSION['username']?></b>
		<br/><br/><a href="add_persona.php">Add an Identity</a><?
} else {
	require "html/index.html";
}

require "html/bottom.html";

?>
